﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _5._25
{
    class DOG : animal, IYOU,ICHI
    {
        public DOG(string name) : base(name) { 
       
        }

        public void CHI()
        {
            Console.WriteLine("{0}会吃", this.name);
        }

        public void YOU()
        {
            Console.WriteLine("{0}会游泳",this.name);
        }
    }
}
